]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
boxpointer: Queue relayout after updating arrow side
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 13 Mar 2026 11:47:48 +0000 (12:47 +0100)
committerMarge Bot <marge-bot@gnome.org>
Sat, 14 Mar 2026 10:30:45 +0000 (10:30 +0000)
We currently queue a repaint after setting a new arrow side, but
that seems insufficient - moving the arrow from top/bottom to the
left/right for example may very well affect the layout, plus the
arrow may need flipping due to size constraints (which happens
on allocation).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4120>

js/ui/boxpointer.js

index 0c322a1cb271b840d74539df95a48d94e1cde5b9..11aa20059565633444f6824fa462e4715d9db7d7 100644 (file)
@@ -667,7 +667,7 @@ export const BoxPointer = GObject.registerClass({
 
     updateArrowSide(side) {
         this._arrowSide = side;
-        this._border.queue_repaint();
+        this.queue_relayout();
 
         this.emit('arrow-side-changed');
     }